pkgname=device-huawei-y530
pkgver=1
pkgrel=5
pkgdesc="Huawei Ascend Y530"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
depends="linux-huawei-y530 mkbootimg firmware-huawei-y530"
makedepends=""
install=""
subpackages=""
source="
	deviceinfo
	90-touchscreen-dev.rules
"
options="!check"

package() {
	install -D -m644 "$srcdir"/deviceinfo \
		"$pkgdir"/etc/deviceinfo
	install -D -m644 "$srcdir"/90-touchscreen-dev.rules \
		"$pkgdir"/etc/udev/rules.d/90-touchscreen-dev.rules
}

sha512sums="aec931f402b9825cbf342b09526ca9423b73d97b4f6199ed9ab835009c1233723631f5bf57258d457444f71b77f94bd64403f613904614a0d1b03e9f702ff14b  deviceinfo
b2ebcd94e54b474d5a0d03f25af0d152583cddbb8ae8a70b72d65e96c9114a11fd535ffc964b23a0852fd541198c940fe6e867dafb6e6a8a12cb6fa5d1538d45  90-touchscreen-dev.rules"
